home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / demos / commercial / struxdemo.lha / StruxDemo_english / ReadMe < prev    next >
Encoding:
Text File  |  1994-01-07  |  12.1 KB  |  356 lines

  1.  
  2.         XX X
  3.       XXXXXX    X
  4.      XXX  XX   XX
  5.      XX       XXX
  6.      XX      XXXXXX  XXX  XX   XXX   XXX  XXXXX    XXXX
  7.      XXX       XX     XXXXXXXX  XX    XX    XX      X
  8.       XXXX     XX     XXX  XXX  XX    XX     XX    X
  9.        XXXX    XX     XX        XX    XX      XX  X
  10.          XXX   XX     XX        XX    XX       XXX
  11.           XX   XX     XX        XX    XX        XX
  12.           XX   XX     XX        XX    XX       X XX
  13.      XX  XXX   XX   X XX        XXX  XXX      X   XX
  14.      XXXXXX     XXXX  XX         XXXXXXXXX   X     XX
  15.      X XX        XX  XXXX          XX XXX  XXXX   XXXXX   version 1.1
  16.  
  17.  
  18.              a graphical editor for flowcharts
  19.  
  20.  
  21.                   ****  **** *   *  ***          
  22.                    *  * *    ** ** *   *
  23.                    *  * ***  * * * *   *
  24.                    *  * *    *   * *   *    
  25.                   ****  **** *   *  ***
  26.  
  27. __________________________________________________________________________
  28.  
  29.  
  30.  
  31. a Brief Description
  32. ===================
  33.  
  34. With Strux, you can easily design "normal" and Nassi-Shneiderman flowcharts.
  35. The flowcharts can be saved as sourcecode in any progamming language
  36. (user definable) and you can quickly complete it to form a well structured,
  37. well documented and executable program.
  38. Furthermore, you can use Strux to read sourcecode written in "Pascal" or
  39. "C" and show it as a flowchart. This is perfect for understanding other
  40. people's programs and will also help you to find bugs in your own programs !
  41. The flowcharts can be saved as IFF-pictures or be printed. For each function
  42. of the program, a help text can be displayed while working with Strux.
  43.  
  44. As Strux is programmed according to the Commodore® styleguide and uses
  45. many features of Workbench 2.0, 
  46.  
  47.         Kickstart/Workbench version 2.04 or higher is required !
  48.  
  49.  
  50.  
  51. ----------------------------------------------------------------------
  52.  
  53. Strux is a commercial program. This Demo will give you an impression 
  54. of the full version.
  55.  
  56. With the full version, you will get a printed manual (54 pages) with
  57. many examples and a tutorial. As a registered user, you also get help 
  58. and updates at a low prices.
  59.  
  60. The price is 110,- DM including postage.
  61.  
  62. Please add 10,- DM for air mail, if desired. (not necessary within Europe)
  63.  
  64.  
  65.  
  66. How to order ?
  67. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  68. Send your orders to this address:
  69.  
  70.   PCP Hard- & Software
  71.   Andreas Günther
  72.   Alfener Weg 10
  73.   D-33100 Paderborn
  74.   Germany
  75.  
  76. Phone: +49 5251 63412
  77. Fax:   +49 5251 67124
  78. email: guenther@uni-paderborn.de
  79.  
  80.  
  81. How to pay ?
  82. ¯¯¯¯¯¯¯¯¯¯¯¯
  83. Please send money by an "Eurocheque" drawn in DM, by postal money order
  84. or cash.
  85.  
  86.    (If you wish to pay with other cheques, please add 15 DM
  87.     because the bank charges this fee for honouring those checks. :( )
  88.  
  89.  
  90.  
  91. P.S.: Strux is also available with a german manual !
  92.  
  93. ----------------------------------------------------------------------
  94.  
  95.  
  96. Copyright
  97. =========
  98.  
  99. Strux is copyrighted by Andreas Günther.
  100. This demo version of the program may be freely distributed, but only
  101. if ALL files are not changed in any way. This includes all contents of
  102. the drawers "StruxDemo_english" and "StruxDemo_german". The package may 
  103. be put into an archive in packed form (e.g. with "lharc").
  104.  
  105.  
  106.  
  107. Limitations of the Demo Version
  108. ===============================
  109.  
  110. - It is not possible to save flowcharts and Clips as Strux-files.
  111. - A new block cannot be added to a diagram containing ten or more
  112.   blocks. However, it is possible to load flowcharts of any size,
  113.   so this demo version can be used as a viewer.
  114. - Sourcecode files which are read by using the function "Project »
  115.   Open » Text..." must not be longer than 2000 Bytes.
  116.  
  117.  
  118.  
  119.  
  120. ________________________________________________________________________
  121. ************************************************************************
  122. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  123.  
  124.  
  125.  
  126.  
  127. Introduction to Strux
  128. =====================
  129.  
  130. To get from an idea to a complete program, several steps are necessary:
  131.  
  132. - specification of the idea (exact definition of desired functions and
  133.   requirements)
  134. - design of the program (development of an algorithm and the structure
  135.   of the program)
  136. - implementation (conversion into any programming language and at last
  137.   into an executable program)
  138.  
  139. The flowchart editor Strux makes it easy to design the program structure
  140. and helps with the step of the implementation in any programming language.
  141.  
  142. First, you can design the structure as a flowchart conveniently 
  143. on your screen. Then you can save your design as a sourcecode  "skeleton",
  144. which you can easily expand to an executable program.
  145.  
  146. Many programmers skip the design phase and try to implement the program
  147. at once. However, this method brings you quickly into chaos and may
  148. lead to errors.
  149. On the other hand, if you design your program structure with Strux first,
  150. you won't loose the survey, your programs will have less bugs and also
  151. get some comments by the way.
  152.  
  153. Additionaly, flowcharts are perfect methods for the documentation and 
  154. explanation of programs and algorithms, because they are independant 
  155. of any programming language and can be clearly understood. (Even for
  156. handling problems not associated with computers, you need algorithms.)
  157.  
  158. To understand an existing, perhaps uncommented program, it is helpful to
  159. recognize the program structure. Therefore, Strux gives you the possibility
  160. to read sourcecode written in Pascal or C and show it as a flowchart.
  161.  
  162.  
  163.  
  164.  
  165. Using Strux
  166. ===========
  167.  
  168. First, some basic things about Strux are explained to introduce the 
  169. main features of the program. More explanation to each function can
  170. be found in the help texts, so this will be just a short description.
  171. (In the printed manual, all functions are explained in detail, of course.)
  172.  
  173.  
  174. Start
  175. -----
  176. The program can be started by double clicking the icon with the name 
  177. "StruxDemo". Then, a window appears on the Workbench. This is the working 
  178. area of Strux.
  179. If you click on the zoom gadget of the window, its size will be
  180. adjusted according to the visible size of the screen.
  181.  
  182.  
  183. Quit Strux
  184. ----------
  185. To quit the program, you can either select the menu item 
  186. "Project » Quit Strux..." or click on the close gadget of the Strux
  187. window.
  188.  
  189.  
  190. Help
  191. ----
  192. With Strux, you won't get that helpless feeling when you press the
  193. help key and nothing happens...
  194. Strux has a built in online help which can be popped up at any time.
  195. To get help, do the following:
  196.  
  197. Help for menus or menu items:
  198.   Select the menu item, but keep the right mouse button pressed and
  199.   press the help key.
  200.  
  201. Help for windows:
  202.   If the window is active, just press the help key.
  203.  
  204. Explanations of special terms:
  205.   Click on the "Keywords" button in the bottom of the help window
  206.   and select the desired term.
  207.  
  208. A window appears which shows the help text. You can scroll the text with 
  209. the scroll bar on the right hand side. While the help window is displayed,
  210. you can continue to work with Strux.
  211. The help window can be closed at any time by clicking on its close gadget.
  212.  
  213.  
  214. Loading a Flowchart
  215. -------------------
  216. Before proceeding with the following sections of this introduction, 
  217. you should first load a sample flowchart. To do so, select the menu 
  218. item "Project » Open » Strux-file". A standard filerequester appears.
  219. Now, you can choose a flowchart and select the "Open" button.
  220. The flowchart will be loaded and displayed.
  221.  
  222.  
  223. Representations
  224. ---------------
  225. A flowchart can be shown in three different representations. You can
  226. switch between the three representations with the menu item 
  227. "Settings » Diagram...". A window appears where you can
  228. select a representation. Close the window with "Use".
  229.  
  230. Nassi-Shneiderman:
  231.   graphical representation according to Nassi-Shneiderman
  232. Flowchart:
  233.   the common graphical representation of a flowchart
  234. Pseudocode:
  235.   textual representation in a pseudo language, where the different
  236.   block types are described by keywords and the structure by indents.
  237.  
  238.  
  239. Selecting a Block
  240. -----------------
  241. One block in the diagram is marked by reverse colors. This is the
  242. "current block", it corresponds to the cursor in a word processor.
  243. E.g. new blocks are always inserted below this block, the cut or copy
  244. operations refer to this block etc.
  245. To select a block (make it the "current block") you may simply click on
  246. it with the mouse.
  247. In blocks like selections or loops, the whole block with all branches
  248. is marked and taken as the current block.
  249.  
  250. You also have the possibility to use the arrow keys to navigate through
  251. the diagram.
  252.  
  253.  
  254.  
  255.  
  256. The Clipboard
  257. =============
  258.  
  259. Like in word processors, you can cut or copy parts of the flowchart and
  260. paste them somewhere else. The most recent cut part is kept in the
  261. clipboard until something new is cut or copied.
  262. There are different independent clipboard units with numbers from 0
  263. to 255. Normally, all programs use unit zero, so they can exchange
  264. data among each other. If you do not want this, you can change the number.
  265. (menu item "Settings » Program...")
  266.  
  267.  
  268.  
  269. Refinements
  270. ===========
  271.  
  272. To keep the survey over your design, Strux gives you the possibility to
  273. use refinements. With that feature, you can define the function of a
  274. block with an extra flowchart.
  275. Example: If a block named "load file from disk" appears in a flowchart,
  276. the text has all information needed at this point to understand the
  277. flowchart. The loading of the file however includes several steps
  278. (open the file, read it, close it, error handling etc.), which can be
  279. defined in a refinement and are invisible from the currently displayed 
  280. flowchart.
  281.  
  282. You may also use one refinement at different points in the flowchart.
  283.  
  284.  
  285. Refine Block
  286. ------------
  287. To refine the current block, select the menu item "Refinements » 
  288. Refine Block".
  289. A new flowchart appears on the screen with the name of the refined block
  290. as the title. You can edit this flowchart with all the known functions
  291. including further refinements. If a block already has a refinement, you 
  292. can get into its refinement with a double click on the block.
  293. A refined block is shown in bold letters if the menu option 
  294. "Refinements » Show ?" is selected.
  295. With the menu item "Refinements » Higher Level" you can get back to the
  296. block that has been refined, with "Refinements » Top Level" you
  297. immediately get to the top level of the flowchart.
  298.  
  299.  
  300.  
  301. Marking of Refinements
  302. ----------------------
  303. With the menu item "Refinements » Show ?" you can select whether all refined 
  304. blocks should be marked or not. All refined blocks are marked by showing 
  305. their texts in bold letters. This has the the advantage of clearly seeing 
  306. which blocks have refinements.
  307.  
  308. One refinement can be used for several blocks with the same name while
  309. the flowchart of the refinement exists only once and is attached to
  310. exactly one block. This block is called the "main refinement" and its text
  311. is  written in another color. Only operations done with this block (Cut, 
  312. Copy, Paste etc.) have influence on the refinement.
  313.  
  314.  
  315. Set Main Refinement
  316. -------------------
  317. With the menu item "Refinements » Set Main Refinement", you can attach
  318. the flowchart of the refinement to the current block. 
  319. All operations done with this block (Cut, Copy, Paste etc.) now have 
  320. influence on the refinement.
  321.  
  322.  
  323.  
  324.  
  325.  
  326. Saving as Sourcecode
  327. ====================
  328.  
  329. menu item: "Project » Save As » Text..."
  330. The flowchart will be saved as ASCII-text. The translation of each block
  331. type is defined in a "translation table". With the menu item "Settings »
  332. Translation Table", you can open or define your individual translation
  333. table.
  334. With this feature, it is possible to save your flowchart as sourcecode
  335. in any programming language. You get a "skeleton", which consists of the
  336. program structure and from which you can easily complete the program.
  337.  
  338.  
  339.  
  340. Loading Sourcecode
  341. ==================
  342.  
  343. There is also the possibility to load sourcecode (in Pascal or C) as
  344. a textfile and convert it to a flowchart. This flowchart can be edited
  345. as usual.
  346. First, select the menu item "Project » Open » Text...". A filerequester
  347. appears where you can select the source file. You must also specify
  348. the language of the source.
  349. The text will be loaded now and a requester appears, in which all
  350. parts of the program (procedures and functions) are listed. You can select
  351. the part of the program to be loaded. The top item of this list is the
  352. main part of the program if there is one.
  353.  
  354. Remember that the length of the loaded text must not exceed 2000 Bytes
  355. to be loaded by this demo.
  356.